package com.iretailer.report.mapper;


import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Categories;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 11:38
 * @Description:
 */
public interface CategoriesMapper extends SuperMapper<Categories> {

    /**
     * 根据 keyName 查询
     */
    List<Categories> selectCategoryByKeyName(@Param("keyName") String keyName);

    /**
     * 根据 parentId 查询
     */
    List<Categories> selectCategoryByParentId(@Param("parentId") String parentId);

}
